package com.ruoyi.model.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 模型对象 model_data
 * 
 * @author weihanqiang
 * @date 2025-04-30
 */
public class ModelData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模型id */
    private Long modelId;

    /** 模型编号 */
    @Excel(name = "模型编号")
    private String modelNo;

    /** 建模数据id */
    @Excel(name = "建模数据id")
    private Long constructId;

    /** 建模数据编号 */
    @Excel(name = "建模数据编号")
    private String constructNo;

    /** 成分id */
    @Excel(name = "成分id")
    private Long constituentId;

    /** 成分名称 */
    @Excel(name = "成分名称")
    private String constituentName;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String departmentName;

    /** 部门id */
    @Excel(name = "部门id")
    private Long departmentId;

    /** 仪器id */
    @Excel(name = "仪器id")
    private Long instrumentId;

    /** 仪器编号 */
    @Excel(name = "仪器编号")
    private String instrumentNo;

    /** 仪器名称 */
    @Excel(name = "仪器名称")
    private String instrumentName;

    /** 采样时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采样时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date samplingTime;

    /** 建模人id */
    @Excel(name = "建模人id")
    private Long trainerId;

    /** 建模人 */
    @Excel(name = "建模人")
    private String trainerName;

    /** 最大潜在变量数 */
    @Excel(name = "最大潜在变量数")
    private Long maxPotential;

    /** 交叉验证比例代码 */
    @Excel(name = "交叉验证比例代码")
    private String cvRatioCode;

    /** 交叉验证比例名称 */
    @Excel(name = "交叉验证比例名称")
    private String cvRatioName;

    /** 预处理方法代码 */
    @Excel(name = "预处理方法代码")
    private String preMethodCode;

    /** 预处理方法名称 */
    @Excel(name = "预处理方法名称")
    private String preMethodName;

    /** 波长选择方法代码 */
    @Excel(name = "波长选择方法代码")
    private String waveSelectMethodCode;

    /** 波长选择方法名称 */
    @Excel(name = "波长选择方法名称")
    private String waveSelectMethodName;

    /** Rc^2 */
    @Excel(name = "Rc^2")
    private Double rc2;

    /** RMSECV */
    @Excel(name = "RMSECV")
    private Double rmsecv;

    /** Rp^2 */
    @Excel(name = "Rp^2")
    private Double rp2;

    /** RMSEP */
    @Excel(name = "RMSEP")
    private Double rmsep;

    /** RPD */
    @Excel(name = "RPD")
    private Double rpd;

    /** t检验 */
    @Excel(name = "t检验")
    private Double tTest;

    /** RSD */
    @Excel(name = "RSD")
    private Long rsd;

    /** 模型状态代码 */
    @Excel(name = "模型状态代码")
    private String modelStateCode;

    /** 模型状态 */
    @Excel(name = "模型状态")
    private String modelStateName;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDelete;

    /** 新增人id */
    @Excel(name = "新增人id")
    private Long creatorId;

    /** 新增人 */
    @Excel(name = "新增人")
    private String creator;

    /** 修改人id */
    @Excel(name = "修改人id")
    private Long modifierId;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifier;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    /** 模型名称 */
    @Excel(name = "模型名称")
    private String modelName;

    /** 预测值下限 */
    @Excel(name = "预测值下限")
    private Double minPrediction;

    /** 预测值上限 */
    @Excel(name = "预测值上限")
    private Double maxPrediction;

    /** 合并基团波长 */
    @Excel(name = "合并基团波长")
    private Integer isMerge;

    /** 基团信息 */
    @Excel(name = "基团信息")
    private String groupInformation;

    public void setModelId(Long modelId) 
    {
        this.modelId = modelId;
    }

    public Long getModelId() 
    {
        return modelId;
    }

    public void setModelNo(String modelNo) 
    {
        this.modelNo = modelNo;
    }

    public String getModelNo() 
    {
        return modelNo;
    }

    public void setConstructId(Long constructId) 
    {
        this.constructId = constructId;
    }

    public Long getConstructId() 
    {
        return constructId;
    }

    public void setConstructNo(String constructNo) 
    {
        this.constructNo = constructNo;
    }

    public String getConstructNo() 
    {
        return constructNo;
    }

    public void setConstituentId(Long constituentId) 
    {
        this.constituentId = constituentId;
    }

    public Long getConstituentId() 
    {
        return constituentId;
    }

    public void setConstituentName(String constituentName) 
    {
        this.constituentName = constituentName;
    }

    public String getConstituentName() 
    {
        return constituentName;
    }

    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }

    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }

    public void setInstrumentId(Long instrumentId) 
    {
        this.instrumentId = instrumentId;
    }

    public Long getInstrumentId() 
    {
        return instrumentId;
    }

    public void setInstrumentNo(String instrumentNo) 
    {
        this.instrumentNo = instrumentNo;
    }

    public String getInstrumentNo() 
    {
        return instrumentNo;
    }

    public void setInstrumentName(String instrumentName) 
    {
        this.instrumentName = instrumentName;
    }

    public String getInstrumentName() 
    {
        return instrumentName;
    }

    public void setSamplingTime(Date samplingTime) 
    {
        this.samplingTime = samplingTime;
    }

    public Date getSamplingTime() 
    {
        return samplingTime;
    }

    public void setTrainerId(Long trainerId) 
    {
        this.trainerId = trainerId;
    }

    public Long getTrainerId() 
    {
        return trainerId;
    }

    public void setTrainerName(String trainerName) 
    {
        this.trainerName = trainerName;
    }

    public String getTrainerName() 
    {
        return trainerName;
    }

    public void setMaxPotential(Long maxPotential) 
    {
        this.maxPotential = maxPotential;
    }

    public Long getMaxPotential() 
    {
        return maxPotential;
    }

    public void setCvRatioCode(String cvRatioCode) 
    {
        this.cvRatioCode = cvRatioCode;
    }

    public String getCvRatioCode() 
    {
        return cvRatioCode;
    }

    public void setCvRatioName(String cvRatioName) 
    {
        this.cvRatioName = cvRatioName;
    }

    public String getCvRatioName() 
    {
        return cvRatioName;
    }

    public void setPreMethodCode(String preMethodCode) 
    {
        this.preMethodCode = preMethodCode;
    }

    public String getPreMethodCode() 
    {
        return preMethodCode;
    }

    public void setPreMethodName(String preMethodName) 
    {
        this.preMethodName = preMethodName;
    }

    public String getPreMethodName() 
    {
        return preMethodName;
    }

    public void setWaveSelectMethodCode(String waveSelectMethodCode) 
    {
        this.waveSelectMethodCode = waveSelectMethodCode;
    }

    public String getWaveSelectMethodCode() 
    {
        return waveSelectMethodCode;
    }

    public void setWaveSelectMethodName(String waveSelectMethodName) 
    {
        this.waveSelectMethodName = waveSelectMethodName;
    }

    public String getWaveSelectMethodName() 
    {
        return waveSelectMethodName;
    }


    public Double getRc2() {
        return rc2;
    }

    public void setRc2(Double rc2) {
        this.rc2 = rc2;
    }

    public Double getRmsecv() {
        return rmsecv;
    }

    public void setRmsecv(Double rmsecv) {
        this.rmsecv = rmsecv;
    }

    public Double getRp2() {
        return rp2;
    }

    public void setRp2(Double rp2) {
        this.rp2 = rp2;
    }

    public Double getRmsep() {
        return rmsep;
    }

    public void setRmsep(Double rmsep) {
        this.rmsep = rmsep;
    }

    public Double getRpd() {
        return rpd;
    }

    public void setRpd(Double rpd) {
        this.rpd = rpd;
    }

    public Double gettTest() {
        return tTest;
    }

    public void settTest(Double tTest) {
        this.tTest = tTest;
    }

    public void setRsd(Long rsd)
    {
        this.rsd = rsd;
    }

    public Long getRsd() 
    {
        return rsd;
    }

    public void setModelStateCode(String modelStateCode) 
    {
        this.modelStateCode = modelStateCode;
    }

    public String getModelStateCode() 
    {
        return modelStateCode;
    }

    public void setModelStateName(String modelStateName) 
    {
        this.modelStateName = modelStateName;
    }

    public String getModelStateName() 
    {
        return modelStateName;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    public void setCreatorId(Long creatorId) 
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId() 
    {
        return creatorId;
    }

    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }

    public void setModifierId(Long modifierId) 
    {
        this.modifierId = modifierId;
    }

    public Long getModifierId() 
    {
        return modifierId;
    }

    public void setModifier(String modifier) 
    {
        this.modifier = modifier;
    }

    public String getModifier() 
    {
        return modifier;
    }

    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }

    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }

    public void setMinPrediction(Double minPrediction) 
    {
        this.minPrediction = minPrediction;
    }

    public Double getMinPrediction() 
    {
        return minPrediction;
    }

    public void setMaxPrediction(Double maxPrediction) 
    {
        this.maxPrediction = maxPrediction;
    }

    public Double getMaxPrediction() 
    {
        return maxPrediction;
    }

    public void setIsMerge(Integer isMerge) 
    {
        this.isMerge = isMerge;
    }

    public Integer getIsMerge() 
    {
        return isMerge;
    }

    public void setGroupInformation(String groupInformation) 
    {
        this.groupInformation = groupInformation;
    }

    public String getGroupInformation() 
    {
        return groupInformation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("modelId", getModelId())
            .append("modelNo", getModelNo())
            .append("constructId", getConstructId())
            .append("constructNo", getConstructNo())
            .append("constituentId", getConstituentId())
            .append("constituentName", getConstituentName())
            .append("departmentName", getDepartmentName())
            .append("departmentId", getDepartmentId())
            .append("instrumentId", getInstrumentId())
            .append("instrumentNo", getInstrumentNo())
            .append("instrumentName", getInstrumentName())
            .append("samplingTime", getSamplingTime())
            .append("trainerId", getTrainerId())
            .append("trainerName", getTrainerName())
            .append("maxPotential", getMaxPotential())
            .append("cvRatioCode", getCvRatioCode())
            .append("cvRatioName", getCvRatioName())
            .append("preMethodCode", getPreMethodCode())
            .append("preMethodName", getPreMethodName())
            .append("waveSelectMethodCode", getWaveSelectMethodCode())
            .append("waveSelectMethodName", getWaveSelectMethodName())
            .append("rc2", getRc2())
            .append("rmsecv", getRmsecv())
            .append("rp2", getRp2())
            .append("rmsep", getRmsep())
            .append("rpd", getRpd())
            .append("tTest", gettTest())
            .append("rsd", getRsd())
            .append("modelStateCode", getModelStateCode())
            .append("modelStateName", getModelStateName())
            .append("remarks", getRemarks())
            .append("isDelete", getIsDelete())
            .append("creatorId", getCreatorId())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("modifierId", getModifierId())
            .append("modifier", getModifier())
            .append("modifyTime", getModifyTime())
            .append("modelName", getModelName())
            .append("minPrediction", getMinPrediction())
            .append("maxPrediction", getMaxPrediction())
            .append("isMerge", getIsMerge())
            .append("groupInformation", getGroupInformation())
            .toString();
    }
}
